package com.study.java2.oauth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study.java2.oauth.entity.Users;
import org.apache.ibatis.annotations.Param;

/**
 * @author xialin
 * @date 2022/9/25 15:35
 * @description
 */
public interface UsersMapper extends BaseMapper<Users> {

    Users findByUsername(@Param("username") String username);

    Users loadUserByMobile(@Param("mobile")String mobile);
}
